package cn.anlaser.form;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.type.FileTypeEnum;
import cn.anlaser.type.ImageTypeEnum;

@Data
@EqualsAndHashCode(callSuper = false)
public class UploadFileForm extends SimpleForm {
/*	@NotNull
	private Long adId;
	@NotNull
	private Long productId;*/
	//@NotNull
	//private FileTypeEnum type;
	@NotNull
	private FileTypeEnum type;
	private ImageTypeEnum imageType;
	//
	private String savePath;
	private String httpUrl;
	@NotNull
	private Long fkId;
}
